<?php
namespace Admin\Model;
use Think\Model;

/**
* Created by hanquan.
* User Adminstrator
* Date Date 2017/3/27
* Time 00:01
* OptionModel 手机选项类
*/

class OptionModel extends Model
{
	private $Option = null;

	function __construct()
	{
		parent::__construct();
		$this->Option = M('Option');
	}

	/*
	* 获取选项列表
	*/
	public function get_option($oid){

		$condition['oid'] = $oid;
		return $this->Option->field('o_label')->where($condition)->find();
	}
}